<?php echo $this->renderElement('tinymce-admin'); ?>


<div>
	<?php echo $form->label('Page/user_id', 'Owner');?>
	<?php echo $form->select('Page/user_id', $users, null, null, null); ?>
</div>

 	<?php echo $form->input('Page/title', array('div' => array('class' => 'required')));?>

<div>
	<?php echo $form->label('Page/category_id', 'Category');?>
	<?php echo $form->select('Page/category_id', $categories); ?>
</div>

	<?php echo $form->input('Page/slug', array('div' => array('class' => 'required')));?>

	<?php echo $form->input('Page/content', array('type' => 'textarea', 'cols' => '45', 'rows' => '15'));?>

	<?php echo $form->input('Page/online', array('label' => 'Online?', 'type' => 'checkbox'));?>


<?php //echo $form->hidden('Page/created'); ?>
<div class="date">
	<?php echo $form->label('Page.created', 'Published at :'); ?>
	<?php echo $form->dateTime('Page.created', 'DMY', '24');?>
</div>
